package com.smart.entity;

import lombok.Data;
import java.util.Date;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import cn.hutool.core.date.DatePattern;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

/**
 * @author lgb
 * @date 2020年6月12日 下午4:48:23
 * Copyright (C) 深圳工勘科技
 * @说明: 工地实体类
 **/
@Data
@NoArgsConstructor
@TableName("ss_site")
@EqualsAndHashCode(callSuper=true)
public class SsSite extends Model<SsSite>{

	private static final long serialVersionUID = -24923164242237739L;
	@TableId
    @ApiModelProperty(value="id")
	private Integer id;
	@ApiModelProperty(value="工地名称")
	private String siteName;
	@ApiModelProperty(value="总包单位")
	private String siteWorkUnit;
	@ApiModelProperty(value="工地图片")
	private String siteImgs;
	@ApiModelProperty(value="工地类型")
	private String siteType;
	@ApiModelProperty(value="工地简介")
	private String siteInfo;
	@ApiModelProperty(value="投入设备")
    private String inputEquipment;
	@ApiModelProperty(value="开工日期")
	private Date startDate;
	@ApiModelProperty(value="开工日期")
	private Date endDate;
	@ApiModelProperty(value="工地创建时间")
	@JsonFormat(pattern=DatePattern.NORM_DATETIME_PATTERN,timezone="GMT+8")
	private Date createTime; 
	@ApiModelProperty(value="工地面积")
    private Integer siteArea;
	@ApiModelProperty(value="占地面积")
	private Integer siteAreaCovered;
	@ApiModelProperty(value="硬化道路面积")
	private Integer siteRoadArea;
	
}